<html lang="en">

<head>
    <meta charset="utf-8" />
    <script src="http://code.jquery.com/jquery-latest.js"></script>
</head>

<body>
    <span id="msg"></span>
</body>

<script>
    $(document).ready(function(){
        $.ajax({
            method:'get',
            url:'/login/body',
            success:function(result){
                $('#msg').html("用户"+result.uid+"登录成功");
                // window.sessionStorage.setItem("jwt",result.jwt);
                window.localStorage.setItem("jwt",result.jwt);
            },
        });
    });
</script>